package com.itheima.neibulei1;

public class Test {
}
class Outer{
   private int a=10;
    class Inner{
        private int b=20;
        public void dance(){
            System.out.println(a);
            System.out.println("inner...dance");
        }
    }
    public void sing(){
        System.out.println(a);
        Inner inner = new Inner();
        System.out.println(inner.b);
        inner.dance();
        System.out.println("outer...sing");
    }

}
